package com.example.s05datajpaonetomany.repository;


import com.example.s05datajpaonetomany.mymodel.Department;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DepartmentRepository extends JpaRepository<Department, Long> {
    Department findByDeptName(String departmentName);
}
